package com.xdtech.play.service;

import java.util.List;

import com.xdtech.common.service.IBaseService;
import com.xdtech.play.model.PlayStake;
import com.xdtech.play.vo.PlayStakeItem;

/**
 * 
 * @author max.zheng
 * @create 2016-05-08 23:48:33
 * @since 1.0
 * @see
 */
public interface PlayStakeService extends IBaseService<PlayStake>{

	/**
	 * 保存更新信息
	 * @author max.zheng
	 * @create 2016-05-08 23:48:33
	 * @modified by
	 * @param item
	 * @return
	 */
	boolean saveOrUpdatePlayStake(PlayStakeItem item);

	/**
	 * 加载记录信息
	 * @author max.zheng
	 * @create 2016-05-08 23:48:33
	 * @modified by
	 * @param newId
	 * @return
	 */
	PlayStakeItem loadPlayStakeItem(Long playStakeId);

	/**
	 * 根据id号删除记录信息
	 * @author max.zheng
	 * @create 2016-05-08 23:48:33
	 * @modified by
	 * @param id
	 * @return
	 */
	boolean deletePlayStakeInfo(long id);

	/**
	 * 
	 * @author max.zheng
	 * @create 2016-05-08 23:48:33
	 * @modified by
	 * @param playStakeIds
	 */
	boolean deletePlayStakeInfo(List<Long> playStakeIds);
	
	/**
	 * 加载vo列表条目
	 * @author max.zheng
	 * @create 2016-05-08 23:48:33
	 * @modified by
	 * @return
	 */
	List<PlayStakeItem> loadItems();
}
